package utils

import (
	"net/http"
	"os"
)

func GetFileType(filePath string) string {
	file, _ := os.ReadFile(filePath)
	contentType := http.DetectContentType(file)
	return contentType
}
